// 获取付费图片下载率
export const getPaidTaskDown = async () => {
  const response = await fetch('https://gpt404.cn:7280/lensa/micro/image_admin/image_download_data', {
    method: 'GET',
    mode: 'cors'
  });
  return response.json();
}

// (服务|付费)(用户|订单)统计
export const getUserOrderSummary = async () => {
  const response = await fetch('https://gpt404.cn:7280/lensa/micro/image_admin/serve_paid_user_order_summary', {
    method: 'GET',
    mode: 'cors'
  });
  return response.json();
}

// summary
export const getSummary = async () => {
  const response = await fetch('https://gpt404.cn:7280/helloworld/quest/summary', {
    method: 'GET',
    mode: 'cors'
  });
  return response.json();
}


// getSharePointCount
export const getSharePointCount = async () => {
  const response = await fetch('https://api.gpt404.cn/mancagi-tracking-service/v1/internal/tracking/point/count?point=mancagi_album_save_best_photo&reason=SHARE_BEST_PHOTO_FORWARD&source=miniprogram', {
    method: 'GET',
    mode: 'cors'
  });
  return response.json();
}

/**
 * 订单信息参数汇总
*/
export const getChannelAll = async () => {
  const response = await fetch('https://api.gpt404.cn/mancagi-channel-service/v1/common/fission/total', {
    method: 'GET',
    mode: 'cors'
  });
  return response.json();
}
